package com.bw.module_main

import android.content.Context
import android.graphics.Color
import android.graphics.drawable.Drawable
import android.util.AttributeSet
import android.view.LayoutInflater
import android.widget.ImageView
import android.widget.TextView
import androidx.annotation.DrawableRes
import androidx.core.content.ContextCompat
import com.bw.module_main.R
import me.majiajie.pagerbottomtabstrip.internal.RoundMessageView
import me.majiajie.pagerbottomtabstrip.item.BaseTabItem

class NavAddTabItem:BaseTabItem {

    constructor(context: Context):super(context){
        initView(context)
    }

    constructor(context: Context,attributeSet: AttributeSet?):super(context,attributeSet){
        initView(context)
    }

    constructor(context: Context,attributeSet: AttributeSet?,defStyleAttr:Int):super(context,attributeSet,defStyleAttr){
        initView(context)
    }

    private fun initView(context: Context){
        //加载布局到当前组件
        LayoutInflater.from(context).inflate(R.layout.tab_add_normal_layout,this,true)
    }

    fun initData(@DrawableRes defaultIcon:Int,@DrawableRes checkedIcon:Int,title:String,tabCheck:Boolean = false,msgNum:Int = 0){



    }


    override fun setChecked(checked: Boolean) {

    }

    override fun setMessageNumber(number: Int) {

    }

    override fun setHasMessage(hasMessage: Boolean) {

    }

    override fun setTitle(title: String) {

    }

    override fun setDefaultDrawable(drawable: Drawable) {

    }

    override fun setSelectedDrawable(drawable: Drawable) {

    }

    override fun getTitle(): String {
        return ""
    }


}